package com.wuliaogame.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuliaogame
 * @since 2022-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PPm对象", description="")
public class PPm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "出价id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "出价人id")
    private Integer cjId;

    @ApiModelProperty(value = "竞价的选手id")
    private Integer jpId;

    @ApiModelProperty(value = "选手通过此出价")
    private String status;

    @ApiModelProperty(value = "出价时间")
    private Date creatTime;

    @ApiModelProperty(value = "出价")
    private Integer price;

    @TableField(exist = false)
    private PUser cjUser;

    @TableField(exist = false)
    private PUser jpUser;

}
